package com.bjfu.college.utils;

import java.util.List;

/**
 * Copyright@:
 *
 * @Author: Pan Zifeng
 * @Date: 2023/07/15/9:48
 * @Description: 列表工具类，用于处理前端传来的列表
 */
public class ListUtils {

    /**
     * @Description: 判断列表是否有效
     * @Author: Pzf
     * @Date:   2023/7/18 0:25
     * @Param:  [list]
     * @Return: boolean
     */
    public static boolean  listValidityJudge(List list){
        return (list != null && !list.isEmpty());
    }
}
